package com.hkbigdata.springbootdemo.service;

import com.hkbigdata.springbootdemo.bean.Employee;

import java.util.List;

/**
 * @author liuanbo
 * @creat 2024-11-13-14:34
 * @see 2194550857@qq.com
 */
public interface EmployeeService {
    // 查询所有员工
    List<Employee> findAll();

    //查询某个员工
    Employee findById(Integer id);

    //添加员工
    void add(Employee employee);

    //删除员工
    void deleteById(Integer id);

    //修改员工
    void update(Employee employee);
}
